package com.admin_system.service;


import com.admin_system.entity.DocProcessResponse;
import org.springframework.web.multipart.MultipartFile;

import java.io.File;
import java.io.IOException;

/**
 * 文档处理服务接口
 */
public interface DocProcessService {
    
    /**
     * 检查服务是否正常运行
     */
    boolean isServiceAvailable();
    
    /**
     * 发送文档处理
     */
    DocProcessResponse processDocument(MultipartFile file) throws IOException;
    
    /**
     * 下载处理后的文档
     */
    File downloadProcessedDocument(String downloadUrl) throws IOException;
} 